package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Additiveaddress;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface AdditiveaddressService {

	public Additiveaddress saveAdditiveaddress(Additiveaddress additiveaddress);

	public Set<Additiveaddress> loadAdditiveaddresss();

	public Set<Additiveaddress> loadReferenceAdditiveaddresss(Set<Additiveaddress> additiveaddresss);

	public Set<Additiveaddress> loadAdditiveaddresssByIdSet(Set<Integer> additiveaddresssId);

	public Map<String, ?> loadAdditiveaddressObjectReferencedSet(Additiveaddress additiveaddress);

	public Map<String, ?> loadAdditiveaddressClassReferencedSet(Additiveaddress additiveaddress);

	public void deleteAdditiveaddress(Additiveaddress additiveaddress);

	public void deleteAdditiveaddresss(Set<Integer> deleteAdditiveaddresssId);

	public List<Additiveaddress> findAllAdditiveaddresss(Integer startResult, Integer maxRows);

	public Additiveaddress findAdditiveaddressByPrimaryKey(Integer id);

	public Integer countAdditiveaddresss();

	public Integer countAdditiveaddresss(CmiPagination page);

	public Integer countAdditiveaddresssByName(String queryName);

	public Integer countAdditiveaddresssByDetachedCriteria(CmiPagination page);

}
